// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import Router from 'vue-router'
import routes from './routes'
// 引入vue-beauty组件框架
import vueBeauty from 'vue-beauty'
import 'vue-beauty/package/style/vue-beauty.min.css'

// 引入swiper（直接在页面引入即可）
// import 'swiper/css/swiper.min.css'

// 引入瀑布流插件
import waterfall from "vue-waterfall2";

Vue.use(Router)
Vue.use(vueBeauty)
Vue.use(waterfall)

// 引入路由规则文件
const router = new Router({routes})

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
